package com.example.forum.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Favo {
    private int id;
    private long userId;
    private long articleId;
    private boolean favorite=false;
    private boolean love=false;
    private boolean replyFavorite=false;
    private boolean replyLove=false;

    public boolean isFavorite() {
        return favorite;
    }
}
